﻿// Bing Maps ASP.NEt Control is a community project available under the Microsoft Public License (Ms-PL)
// Code is provided as is and with no warrenty – Use at your own risk
// View the project and the latest code at http://BingMapsASP.codeplex.com

using System.Collections.Generic;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Live.ServerControls.VE.Constants;


namespace Microsoft.Live.ServerControls.VE.Extenders
{
    [TargetControlType(typeof(WebControl))]
    public abstract class ExtenderBase : ExtenderControl
    {

        #region Properties

        /// <summary>
        /// The ID of the Microsoft.Live.ServerControls.VE.Map control
        /// </summary>
        [Browsable(true)]
        [Category("Behaviour")]
        [DefaultValue("")]
        [Description("The ID of the Microsoft.Live.ServerControls.VE.Map control")]
        public string MapControlID
        {
            get { return (string)ViewState[ExtenderControlProperty.MapControlID] ?? string.Empty; }
            set { ViewState[ExtenderControlProperty.MapControlID] = value; }
        }

        #endregion

        #region ExtenderControl Members

        protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
        {
            throw new System.NotImplementedException();
        }

        #endregion

        protected override IEnumerable<ScriptReference> GetScriptReferences()
        {
            throw new System.NotImplementedException();
        }
    }
}

